#pragma once
#include "Shape.h"

class Text : public virtual Shape
{
protected:
	float x; float y;
	float size;
	char *text_p;
	
public:
	friend std::ostream& operator<<(std::ostream& os, const Text* dt)
	{
		os << "Text (" << dt->x << " , " << dt->y << ") '"<<dt->text_p<<"' Size = "<<dt->size<<"";
		return os;
	};
	void moveShape(float new_x, float new_y);
	void rotateShape(float angle);
	void zoomShape(float zoom);

	void debugPrint();


	Text(float X, float Y, float sizeText, char* str);
	~Text();
};

